package com.triones.yjj.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 客户活动关联
 *
 * @Author: triones
 */
@TableName(value = "tr_member_activity_relate")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class MemberActivityRelateDO extends BaseEntity {
    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 客户id
     */
    private Long memberId;
    /**
     * 客户微信id
     */
    private Long memberWxId;
    /**
     * 活动id
     */
    private Long activityId;
    /**
     * 最新的订单id
     */
    private Long lastOrderId;
    /**
     * 商家id
     */
    private Long userId;
    /**
     * 累计邀请人数
     */
    private Integer inviteTotal;
}
